﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Home.MobileSales.ImpExpData.InterfaceView
{
    public enum TypeExport
    {
        OnlyNew, SingleDate, RepeatDate
    }

    public interface IExportImportView
    {
        bool IsImport { get; set; }
        
        bool IsAllGoods { get; set; }
        bool IsRemaining { get; set; }
        bool IsBuyers { get; set; }
        bool IsDebts { get; set; }

        bool IsVisits { get; set; }
        TypeExport GetTypeVisitExport { get; }
        DateTime BeginDate { get; set; }
        DateTime EndDate { get; set; }
        DateTime SingleDate { get; set; }

        bool OnlyExecute { get; }

        void EndData();
        void ErrorData();

        void AddLogListBox(string logElement, bool er);
        void SetStatusLabel(string caption);
        void SetStatusPosition(int position);
        void SetStatusMax(int max);

        event EventHandler<EventArgs> Execute;
        event EventHandler<EventArgs> Abort;
    }
}
